package GUI;

import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import com.jgoodies.forms.factories.DefaultComponentFactory;
import java.awt.Font;

public class Main_screen extends JPanel{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	private JButton btnAddRequest;
	private JButton btnEditRequest;
	private JButton btnViewRequest;
	private JButton btnCancel;
	private JButton button;
	private JButton btnReports;
	private JButton btnAuthorizations;
	private JButton btnFrozenMangment;
	public Main_screen() {
		setLayout(null);
		
		button = new JButton("Submit");
		button.setIcon(new ImageIcon(Main_screen.class.getResource("/Picture/Ok-icon.png")));
		button.setBounds(365, 302, 135, 47);
		add(button);
		
		btnCancel = new JButton("Log-Out");
		btnCancel.setIcon(new ImageIcon(Main_screen.class.getResource("/Picture/Button-Delete-icon.png")));
		btnCancel.setBounds(10, 302, 141, 47);
		add(btnCancel);
		
		btnAddRequest = new JButton("Add request");
		btnAddRequest.setBounds(57, 40, 141, 47);
		add(btnAddRequest);
		
		btnEditRequest = new JButton("Edit request");
		btnEditRequest.setBounds(57, 113, 141, 47);
		add(btnEditRequest);
		
		btnViewRequest = new JButton("View request");
		btnViewRequest.setBounds(57, 184, 141, 47);
		add(btnViewRequest);
		
		btnFrozenMangment = new JButton("Frozen mangment");
		btnFrozenMangment.setBounds(317, 40, 141, 47);
		add(btnFrozenMangment);
		
		btnAuthorizations = new JButton("Authorizations ");
		btnAuthorizations.setBounds(317, 113, 141, 47);
		add(btnAuthorizations);
		
		btnReports = new JButton("Reports");
		btnReports.setBounds(317, 184, 141, 47);
		add(btnReports);
		
		JLabel lblNewJgoodiesTitle = DefaultComponentFactory.getInstance().createTitle("Main Screen");
		lblNewJgoodiesTitle.setFont(new Font("Arial", Font.BOLD | Font.ITALIC, 17));
		lblNewJgoodiesTitle.setBounds(169, -1, 161, 30);
		add(lblNewJgoodiesTitle);
		
		JLabel lblNewLabel = new JLabel("New label");
		lblNewLabel.setIcon(new ImageIcon(Main_screen.class.getResource("/Picture/GenerateSMALL.png")));
		lblNewLabel.setBounds(10, -1, 77, 89);
		add(lblNewLabel);
		
		JButton button_1 = new JButton("");
		button_1.setIcon(new ImageIcon(Main_screen.class.getResource("/Picture/E-mail-icon.png")));
		button_1.setBounds(210, 242, 108, 47);
		add(button_1);
	}
	public JButton getBtnAddRequest() {
		return btnAddRequest;
	}
	public void setBtnAddRequest(JButton btnAddRequest) {
		this.btnAddRequest = btnAddRequest;
	}
	public JButton getBtnEditRequest() {
		return btnEditRequest;
	}
	public void setBtnEditRequest(JButton btnEditRequest) {
		this.btnEditRequest = btnEditRequest;
	}
	public JButton getBtnViewRequest() {
		return btnViewRequest;
	}
	public void setBtnViewRequest(JButton btnViewRequest) {
		this.btnViewRequest = btnViewRequest;
	}
	public JButton getBtnCancel() {
		return btnCancel;
	}
	public void setBtnCancel(JButton btnCancel) {
		this.btnCancel = btnCancel;
	}
	public JButton getButton() {
		return button;
	}
	public void setButton(JButton button) {
		this.button = button;
	}
	public JButton getBtnReports() {
		return btnReports;
	}
	public void setBtnReports(JButton btnReports) {
		this.btnReports = btnReports;
	}
	public JButton getBtnAuthorizations() {
		return btnAuthorizations;
	}
	public void setBtnAuthorizations(JButton btnAuthorizations) {
		this.btnAuthorizations = btnAuthorizations;
	}
	public JButton getBtnFrozenMangment() {
		return btnFrozenMangment;
	}
	public void setBtnFrozenMangment(JButton btnFrozenMangment) {
		this.btnFrozenMangment = btnFrozenMangment;
	}
}
